package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.EvaluationTimeTeacherDao;
import io.renren.modules.jxgk.entity.EvaluationTimeTeacherEntity;
import io.renren.modules.jxgk.service.EvaluationTimeTeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EvaluationTimeTeacherServiceImpl implements EvaluationTimeTeacherService{
    @Autowired
    EvaluationTimeTeacherDao evaluationTimeTeacherDao;
    public List<EvaluationTimeTeacherEntity> queryList(Map<String, Object> map){
        return evaluationTimeTeacherDao.queryList(map);
    }
    public int queryTotal(Map<String, Object> map){
        return  evaluationTimeTeacherDao.queryTotal(map);
    }
    public void deleteBatch(String[] termIds){
        evaluationTimeTeacherDao.deleteBatch(termIds);
    }
    public void save(EvaluationTimeTeacherEntity ste){
        evaluationTimeTeacherDao.save(ste);
    }
    public EvaluationTimeTeacherEntity queryObject(String index){
        return evaluationTimeTeacherDao.queryObject(index);
    }
    public void update(EvaluationTimeTeacherEntity ste){
        evaluationTimeTeacherDao.update(ste);
    }
}
